//
//  XJJuBaoTieZiCell.m
//  XinJiangMall
//
//  Created by RaoBo on 2018/6/8.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import "XJJuBaoTieZiCell.h"
@interface XJJuBaoTieZiCell()
@property (weak, nonatomic) IBOutlet UIButton *selectedBtn;
@property (weak, nonatomic) IBOutlet UILabel *jubaoNeiRongLB; // 举报内容lb
@property (weak, nonatomic) IBOutlet UIButton *bigButton;

@end
@implementation XJJuBaoTieZiCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)configureJuBaoTieName:(NSString *)name {
    self.jubaoNeiRongLB.text = name;
}


- (IBAction)bigBtnAction:(UIButton *)sender {
    
    self.selectedBtn.selected = !self.selectedBtn.selected;
    if (self.btnSelectedBlock) {
        self.btnSelectedBlock(self.selectedBtn.selected);
    }
}

/**
 6-9 思考:
 一个tableView 单选多选问题,做不出来。 看了一下别人的代码 感觉都不适合
 最简单的就是:用一个透明的大button。就ok了✅ 这是一种思想。化难为易 ✅。
 项目结束后一定要总结。如此才能进步。愿收货满满。
 */
@end
